package mapper;

import com.hmj.javabean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> selectAll();
    User selectById(int id);
    //List<User> selectByIdAndSal(int id,double sal);
    User selectByIdAndSal(@Param("id") int id, @Param("sal") double sal);
    int insertUser(User user);
    int updateSalById(int id,double sal);
    int deleteById(int id);
}
